/**
 * Auto gen via dbpojo-gen.
 */
package com.us.usws.service.cud;

import com.us.usws.model.flat.channel.DOChannel;

/**
 * Service interface
 * @author robot
 */
public interface ChannelCUDService {

	/**
	 * Insert one row.
	 */
	public String addChannel(DOChannel channel);

	
	public void addChannelVideo(String[] videoUids, String channelUid, String createByUid);
	
	public void deleteChannelVideo(String[] videoUids, String channelUid);
	
	public void topChannelVideo(String[] videoUids, String channelUid, int[] seqNums);
	
	public void recommentChannelVideo(String[] videoUids, String channelUid, String hot);
	/**
	 * Update by PK.
	 */
	public void updateChannel(DOChannel channel);

	/**
	 * Update is valid flag by PK.
	 */
	public void updateIsValid(String uid, String isValid);

	/**
	 * Delete row by PK.
	 */
	public void deleteChannel(String uid);

	/**
	 * Delete batch.
	 */
	public void deleteChannelMore(String uids);

	public boolean exchangeChannelPosition(String uids);
}